<template>
  <table  class="table table-bordered table-hover text-justify">
    <caption></caption>
    <thead>
        <tr>
          <td class="col-sm-4"><label>平台选择</label></td>
          <td class="col-sm-4">
            <label class="checkbox-inline"><input type="checkbox" v-model="checkIos">ios</label>
          </td>
          <td class="col-sm-4">
            <label class="checkbox-inline"><input type="checkbox" v-model="checkAndroid">Android</label>
          </td>
        </tr>
        <tr>
          <td><label>版本选择</label></td>
          <td>
            <input type="text" class="form-control" v-model="iosData.version">
          </td>
          <td>
            <input type="text" class="form-control" v-model="androidData.version">
          </td>
        </tr>
        <tr>
          <td><label>升级提示语</label></td>
          <td >
            <textarea class="form-control" v-model="iosData.description" rows="5"></textarea>
          </td>
          <td >
            <textarea class="form-control" v-model="androidData.description" rows="5"></textarea>
          </td>
        </tr>
    </thead>
  </table>
  <div class="text-center">
    <button class="btn btn-sm btn-primary text-center" @click="submitUpdate">提交强制升级</button>
  </div>
</template>
<style src="./app-update.css" scoped></style>
<script src="./app-update.js"></script>